import Vue from 'vue';
import Router from 'vue-router';
// import Login from '../components/Login.vue';
// import RoomList from '../components/RoomList.vue';
// import RoomClient from '../components/RoomClient.vue';
import UserLogin from '../components/UserLogin.vue';
import UserFriendMsg from '../components/UserFriendMsg.vue';
Vue.use(Router);

export default new Router({
    routes: [
        {
            path: '/',
            name: 'UserLogin',
            component: UserLogin
        },
        {
            path: '/UserFriendMsg',
            name: 'UserFriendMsg',
            component: UserFriendMsg,
            meta: {
                requiresAuth: true
            }
        }
        // {
        //   path: '/RoomClient',
        //   name: 'RoomClient',
        //   component: RoomClient,
        //   meta: {
        //     requiresAuth: true
        //   }
        // }
    ]
});
